import Vue from 'vue'
import App from './App.vue'
import router from './router'

import {
  Menu,
  MenuItem,
  Submenu,
  Form,
  FormItem,
  Button,
  Input,
  Table,
  TableColumn,
  Dialog,
  MessageBox,
  Message
} from 'element-ui'

Vue.use(Menu)
Vue.use(MenuItem)
Vue.use(Submenu)
Vue.use(Form)
Vue.use(FormItem)
Vue.use(Button)
Vue.use(Input)
Vue.use(Table)
Vue.use(TableColumn)
Vue.use(Dialog)
Vue.prototype.$confirm = MessageBox.confirm
Vue.prototype.$message = Message

Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
